﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SysModuleEdit.aspx.cs" Inherits="FxhjpgWeb.WebSite.WebAdmin.SysModuleEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=!string.IsNullOrEmpty(id) ? "修改模块" : "新建模块"%></title>
    <link href="/css/admin/admin.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="/js/jquery.js"></script>
    <script type="text/javascript" src="/js/admin/admin.js"></script>
</head>
<body>
    <div class="titlebt"><%=isUpdate ? "修改模块" : "新建模块"%></div>
    <!--显示列表-->
    <div id="all">
        <div class="k_all3">
            <form action="" method="post">
            <table width="100%" cellpadding="0" cellspacing="0" id="bk">
                <tbody>
                    <tr>
                        <td width="326" height="35" align="right">
                            <span class="red">*</span>模块ID：
                        </td>
                        <td width="990">
                            <input type="text" name="mid" id="mid" value="<%=id %>" <%if(isUpdate) {%> disabled="disabled"<%} %> data-val="true" data-val-required="*模块ID是必填项！" data-val-number="*模块ID必填是数字类型！" />
                            <input type="hidden" name="pid" value="<%=pid %>" />
                            <span class="field-validation-valid" data-valmsg-for="mid" data-valmsg-replace="true"></span>
                        </td>
                    </tr>
                    <tr>
                        <td width="326" height="35" align="right">
                            <span class="red">*</span>模块名称：
                        </td>
                        <td width="990">
                            <input type="text" id="mname" name="mname" value="<%=sysModule.Name %>"  data-val="true" data-val-required="*模块名称是必填项！" />
                            <span class="field-validation-valid" data-valmsg-for="mname" data-valmsg-replace="true"></span>
                        </td>
                    </tr>
                    <tr>
                        <td height="35" align="right">
                            链接页面：
                        </td>
                        <td width="990">
                            <input type="text" name="href" value="<%=sysModule.Href %>" style="width:350px" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" height="35">
                            <div class="pl200">
                                <input type="submit" class="butt_tle" style="width: 50px" value="确定" />
                                <input type="button" class="butt_tle" style="width: 80px" value="返回列表" onclick='location.href="SysModules.aspx"'/>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            </form>
        </div>
    </div>
</body>
</html>